<style>
    #id-tb-don{
        margin: auto;
    }
    #thongtin{
        height: auto;
        width: auto;
    }
</style>
<script>
    $(function() {
        $("#thongtin").dialog({
            autoOpen: false,
            position: [300, 100],
            height: 'auto',
            width: 'auto',
            show: {
                effect: "blind",
                duration: 1000
            },
            hide: {
                effect: "explode",
                duration: 1000
            }

        });
        $("#thongtin").css('ma')
        $(".bt-themsv").click(function() {
            var Ma_SV = $(this).val();
           // $("#thongtin").load("<?php echo base_url() . 'canbo/xemdon2?Ma_Don_SV='; ?>" + Ma_SV);
            $("#thongtin").dialog("open");
        });
    });
</script>

<table id="id-tb-don" style="width: 1100px; ">
    <caption>
        <h1>Danh sách sinh viên </h1>  
    </caption>
    <tr class="id-silent">
        <th class="silent0">Họ Tên</th>
        <th class="silent1">MSSV</th>
        <th class="silent2">Lớp</th>
        <th class="silent3">Ngày sinh</th>
        <th class="silent4">Lý do kỷ luật</th>
       
        <th class="silent6"></th>
    </tr>
    <?php
    if (isset($dssinhvien)) {
        foreach ($dssinhvien as $key => $value) {
            ?>
            <tr id="id-silent" >
                <td class="silent0"><p> <?php echo $value['HoTen_SV']; ?></p></td>
                <td class="silent1"><p> <?php echo $value['Ma_SV']; ?></p></td>
                <td class="silent2"><p> <?php echo $value['Lop_SV']; ?></p></td>
                <td class="silent3"><p> <?php echo $value['NgaySinh_SV']; ?></p></td>
                <td class="silent4"><p><?php echo $dm_ktkl['MoTa'] ?></p></td>   
                              
                <td class="silent6">
                    <input type="hidden" name="Ma_SV" value="<?php echo $value['Ma_SV']; ?>" />
                    <button class="bt-themsv" type="button" name="bt" value="<?php echo $value['Ma_SV']; ?>" id="xem-chi-tiet" ><b>Thêm</b></button>
                    <input type="checkbox" name="Chon[]" value="<?php echo $value['Ma_SV']; ?>" />
                </td>
            </tr>
            <?php
        }
    }
    ?></table>
<div id="thongtin">Thêm sinh viên vào danh sách</div>